package com.future.cb.web.global;

import com.future.cb.dao.entity.SysUser;

public class PlatFormContext {
	//当前登录的用户信息
	private static final ThreadLocal<SysUser> currentUser = new ThreadLocal<SysUser>();
	
	public static SysUser getCurrentUser(){
		return currentUser.get();
	}
	
	public static void setCurrentUser(SysUser user){
		currentUser.set(user);
	}
}
